<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:mstns="http://schemas.microsoft.com/office/project/server/webservices/TimesheetDataSet/" xmlns="http://schemas.microsoft.com/office/project/server/webservices/TimesheetDataSet/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/project/server/webservices/TimesheetDataSet/" id="TimesheetDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="TimesheetDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Headers">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_UID" type="xs:string" />
              <xs:element minOccurs="0" name="TS_NAME" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="WPRD_UID" type="xs:string" />
              <xs:element minOccurs="0" default="" name="TS_COMMENTS" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" minOccurs="0" name="TS_CREATOR_RES_UID" type="xs:string" />
              <xs:element name="TS_ENTRY_MODE_ENUM" type="xs:unsignedByte" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_STATUS_ENUM" type="xs:unsignedByte" />
              <xs:element minOccurs="0" name="TS_WEEK_STARTS_ON" type="xs:unsignedByte" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="RES_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msdata:ReadOnly="true" minOccurs="0" name="RES_TIMESHEET_MGR_UID" type="xs:string" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_CACHED_RES_NAME" type="xs:string" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_CACHED_CREATOR_RES_NAME" type="xs:string" />
              <xs:element minOccurs="0" name="TS_IS_PROCESSED" type="xs:boolean" />
              <xs:element minOccurs="0" name="TS_IS_CONTROLLED_BY_OWNER" type="xs:boolean" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_TOTAL_ACT_VALUE" type="xs:decimal" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_TOTAL_ACT_OVT_VALUE" type="xs:decimal" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_TOTAL_ACT_NON_BILLABLE_VALUE" type="xs:decimal" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_TOTAL_ACT_NON_BILLABLE_OVT_VALUE" type="xs:decimal" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_GRAND_TOTAL_ACT_VALUE" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Lines">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_LINE_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" minOccurs="0" name="ASSN_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" minOccurs="0" name="TASK_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" minOccurs="0" name="PROJ_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_LINE_CLASS_UID" type="xs:string" />
              <xs:element minOccurs="0" default="" name="TS_LINE_COMMENT" type="xs:string" />
              <xs:element name="TS_LINE_VALIDATION_TYPE" type="xs:unsignedByte" />
              <xs:element default="" name="TS_LINE_CACHED_ASSIGN_NAME" type="xs:string" />
              <xs:element default="" name="TS_LINE_CACHED_PROJ_NAME" type="xs:string" />
              <xs:element minOccurs="0" name="TS_LINE_CACHED_PROJ_REVISION_COUNTER" type="xs:string" />
              <xs:element minOccurs="0" name="TS_LINE_CACHED_PROJ_REVISION_RANK" type="xs:string" />
              <xs:element minOccurs="0" name="TS_LINE_IS_CACHED" type="xs:string" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_LINE_ACT_SUM_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" name="TS_LINE_STATUS" type="xs:unsignedByte" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Actuals">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_LINE_UID" type="xs:string" />
              <xs:element name="TS_ACT_START_DATE" type="xs:dateTime" />
              <xs:element name="TS_ACT_FINISH_DATE" type="xs:dateTime" />
              <xs:element minOccurs="0" name="TS_ACT_COMMENT" type="xs:string" />
              <xs:element minOccurs="0" default="0" name="TS_ACT_PLAN_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" default="0" name="TS_ACT_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" default="0" name="TS_ACT_OVT_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" default="0" name="TS_ACT_NON_BILLABLE_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" default="0" name="TS_ACT_NON_BILLABLE_OVT_VALUE" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomFields">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="CUSTOM_FIELD_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_LINE_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" minOccurs="0" name="MD_PROP_UID" type="xs:string" />
              <xs:element minOccurs="0" name="MD_PROP_ID" type="xs:int" />
              <xs:element minOccurs="0" name="FIELD_TYPE_ENUM" type="xs:unsignedByte" />
              <xs:element minOccurs="0" name="FLAG_VALUE" type="xs:boolean" />
              <xs:element minOccurs="0" name="TEXT_VALUE">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" name="DATE_VALUE" type="xs:dateTime" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" minOccurs="0" name="CODE_VALUE" type="xs:string" />
              <xs:element minOccurs="0" name="DUR_VALUE" type="xs:int" />
              <xs:element minOccurs="0" name="NUM_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" name="DUR_FMT" type="xs:unsignedByte" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="INDICATOR_VALUE" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Actions">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_ACTION_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_UID" type="xs:string" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="RES_UID" type="xs:string" />
              <xs:element name="TS_ACTION_ENUM" type="xs:unsignedByte" />
              <xs:element name="TS_ACTION_DATE" type="xs:dateTime" />
              <xs:element minOccurs="0" name="TS_ACTION_COMMENT" type="xs:string" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_ACTION_CACHED_RES_NAME" type="xs:string" />
              <xs:element name="TS_ACTION_IS_HISTORY" type="xs:boolean" />
              <xs:element name="TS_ACTION_LEVEL" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Audits">
          <xs:complexType>
            <xs:sequence>
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_ACT_AUD_UID" type="xs:string" />
              <xs:element name="TS_ACT_AUD_OPERATION_ENUM" type="xs:unsignedByte" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TS_LINE_UID" type="xs:string" />
              <xs:element name="TS_ACT_START_DATE" type="xs:dateTime" />
              <xs:element name="TS_ACT_FINISH_DATE" type="xs:dateTime" />
              <xs:element minOccurs="0" name="TS_ACT_AUD_SEQUENCE" type="xs:long" />
              <xs:element msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="RES_UID" type="xs:string" />
              <xs:element minOccurs="0" name="TS_ACT_AUD_DELTA_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" name="TS_ACT_AUD_OVT_DELTA_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" name="TS_ACT_AUD_NONBILL_DELTA_VALUE" type="xs:decimal" />
              <xs:element minOccurs="0" name="TS_ACT_AUD_NONBILL_OVT_DELTA_VALUE" type="xs:decimal" />
              <xs:element msdata:ReadOnly="true" minOccurs="0" name="TS_ACT_AUD_CACHED_RES_NAME" type="xs:string" />
              <xs:element minOccurs="0" name="TS_ACT_AUD_IS_PROCESSED" type="xs:boolean" />
              <xs:element name="TS_ACT_AUD_RES_ROLE" type="xs:unsignedByte" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique msdata:PrimaryKey="true" name="Constraint1">
      <xs:selector xpath=".//mstns:Headers" />
      <xs:field xpath="mstns:TS_UID" />
    </xs:unique>
    <xs:unique msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true" name="Lines_Constraint1">
      <xs:selector xpath=".//mstns:Lines" />
      <xs:field xpath="mstns:TS_LINE_UID" />
    </xs:unique>
    <xs:unique msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true" name="Actuals_Constraint1">
      <xs:selector xpath=".//mstns:Actuals" />
      <xs:field xpath="mstns:TS_LINE_UID" />
      <xs:field xpath="mstns:TS_ACT_START_DATE" />
    </xs:unique>
    <xs:unique msdata:PrimaryKey="true" name="Actions_Constraint1">
      <xs:selector xpath=".//mstns:Actions" />
      <xs:field xpath="mstns:TS_ACTION_UID" />
    </xs:unique>
    <xs:unique msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true" name="Audits_Constraint1">
      <xs:selector xpath=".//mstns:Audits" />
      <xs:field xpath="mstns:TS_ACT_AUD_UID" />
      <xs:field xpath="mstns:TS_ACT_AUD_OPERATION_ENUM" />
      <xs:field xpath="mstns:TS_LINE_UID" />
      <xs:field xpath="mstns:TS_ACT_START_DATE" />
    </xs:unique>
    <xs:keyref name="Lines_Actuals" refer="mstns:Lines_Constraint1">
      <xs:selector xpath=".//mstns:Actuals" />
      <xs:field xpath="mstns:TS_LINE_UID" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Headers_Lines" msdata:parent="Headers" msdata:child="Lines" msdata:parentkey="TS_UID" msdata:childkey="TS_UID" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" />
      <msdata:Relationship name="Headers_Actions" msdata:parent="Headers" msdata:child="Actions" msdata:parentkey="TS_UID" msdata:childkey="TS_UID" />
      <msdata:Relationship name="Lines_Audits" msdata:parent="Lines" msdata:child="Audits" msdata:parentkey="TS_LINE_UID" msdata:childkey="TS_LINE_UID" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>